﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_CustomerReturn.cs
// 创建时间：2016/12/5
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///接收客户退货(ERP_CustomerReturn)数据实体
	/// </summary>
	[Serializable]
	public class ERP_CustomerReturn
	{
		#region 变量定义
		
		///<summary>
		///收退货单id
		///</summary>
		private int _customerReturnId;
		
		///<summary>
		///收退货单编号
		///</summary>
		private string _customerReturnNo = String.Empty;
		
		///<summary>
		///库房ID
		///</summary>
		private int _storeRoomId;
		
		///<summary>
		///制单人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///制单时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///审核人
		///</summary>
		private string _checkUser = String.Empty;
		
		///<summary>
		///审核时间
		///</summary>
		private string _checkDate = String.Empty;
		
		///<summary>
		///0未提交，1已提交，2已审核
		///</summary>
		private int _state;
		
		///<summary>
		///客户ID
		///</summary>
		private int _customerId;
		
		///<summary>
		///对口负责人
		///</summary>
		private string _charger = String.Empty;
		
		///<summary>
		///退货原因
		///</summary>
		private string _comment = String.Empty;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///接收客户退货的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_CustomerReturn()
		{
 
		}
		///<summary>
		///接收客户退货
		///</summary>
		public ERP_CustomerReturn
		(
			int customerReturnId,
			string customerReturnNo,
			int storeRoomId,
			string inUser,
			string inDate,
			string checkUser,
			string checkDate,
			int state,
			int customerId,
			string charger,
			string comment,
			string remark
		)
		{
			_customerReturnId = customerReturnId;
			_customerReturnNo = customerReturnNo;
			_storeRoomId      = storeRoomId;
			_inUser           = inUser;
			_inDate           = inDate;
			_checkUser        = checkUser;
			_checkDate        = checkDate;
			_state            = state;
			_customerId       = customerId;
			_charger          = charger;
			_comment          = comment;
			_remark           = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///收退货单id
		///</summary>
		public int CustomerReturnId
		{
			get {return _customerReturnId;}
			set {_customerReturnId = value;}
		}

		
		///<summary>
		///收退货单编号
		///</summary>
		public string CustomerReturnNo
		{
			get {return _customerReturnNo;}
			set {_customerReturnNo = value;}
		}

		
		///<summary>
		///库房ID
		///</summary>
		public int StoreRoomId
		{
			get {return _storeRoomId;}
			set {_storeRoomId = value;}
		}

		
		///<summary>
		///制单人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///制单时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///审核人
		///</summary>
		public string CheckUser
		{
			get {return _checkUser;}
			set {_checkUser = value;}
		}

		
		///<summary>
		///审核时间
		///</summary>
		public string CheckDate
		{
			get {return _checkDate;}
			set {_checkDate = value;}
		}

		
		///<summary>
		///0未提交，1已提交，2已审核
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///客户ID
		///</summary>
		public int CustomerId
		{
			get {return _customerId;}
			set {_customerId = value;}
		}

		
		///<summary>
		///对口负责人
		///</summary>
		public string Charger
		{
			get {return _charger;}
			set {_charger = value;}
		}

		
		///<summary>
		///退货原因
		///</summary>
		public string Comment
		{
			get {return _comment;}
			set {_comment = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}